#ifndef _IIC_H_
#define _IIC_H_

#include "main.h"

extern I2C_HandleTypeDef i2c_test;

void app_iic_init(void);
void app_iic_master_clear_error(void);
void app_iic_deinit(void);
void app_iic_write_reg(uint8_t reg,uint8_t dat,uint8_t slave_addr);
uint8_t app_iic_read_reg(uint8_t reg_address,uint8_t slave_addr);

#endif

